//
//  AILDCalendar.h
//  carcareIOS
//
//  Created by ileo on 15/6/5.
//  Copyright (c) 2015年 baozun. All rights reserved.
//

#import "AIUserDefaultObject.h"
#import "DBCalendarWay.h"
#import "TriggerElement.h"

@interface AILDCalendar : AIUserDefaultObject

@property (nonatomic, strong) DBCalendarWay *dbCalendarWay;

@property (nonatomic, assign) NSInteger lastSavedYear;//确定保存的最后一个月（该月数据已确定不会更改）
@property (nonatomic, assign) NSInteger lastSavedMonth;
@property (nonatomic, copy) NSString *lastLoadedDay;

-(DBCalendarWay *)dbCalendarWay;

-(void)updateSavedMonthWithYear:(NSInteger)year month:(NSInteger)month;
-(BOOL)needLoadFromNetWithYear:(NSInteger)year month:(NSInteger)month;

@end

@interface TriggerCalender : TriggerElement

@end


